package com.giscloud.limp.dao;

import com.giscloud.limp.entity.CompanyBlacklist;
import com.giscloud.limp.entity.dto.CompanyBlacklistDTO;
import com.giscloud.limp.entity.dto.CompanyWhitelistDTO;
import org.apache.ibatis.annotations.Param;
import com.giscloud.limp.entity.CompanyBlacklistExample;
import java.util.List;
import com.giscloud.datasource.core.DynamicDataSource;
/**
 * ${comments}
 * 
 * @author giscloud
 * @email giscloud@giscloud.com
 * @date 2020-06-10 19:33:46
 */
public interface CompanyBlacklistDao {
    @DynamicDataSource("ds1")
    long countByExample(CompanyBlacklistExample example);
    @DynamicDataSource("ds1")
    int deleteByExample(CompanyBlacklistExample example);
    @DynamicDataSource("ds1")
    int insert(CompanyBlacklist record);
    @DynamicDataSource("ds1")
    int insertSelective(CompanyBlacklist record);
    @DynamicDataSource("ds1")
    List<CompanyBlacklist> selectByExample(@Param("record") CompanyBlacklistDTO record, @Param("createdOrgId") Long createdOrgId);
    @DynamicDataSource("ds1")
    int updateByExampleSelective(@Param("record") CompanyBlacklist record, @Param("example") CompanyBlacklistExample example);
    @DynamicDataSource("ds1")
    int updateByExample(@Param("record") CompanyBlacklist record, @Param("example") CompanyBlacklistExample example);
    @DynamicDataSource("ds1")
    int updateByPrimaryKeySelective(CompanyBlacklist record);
    @DynamicDataSource("ds1")
    int updateByPrimaryKey(CompanyBlacklist record);
    @DynamicDataSource("ds1")
    CompanyBlacklist selectByPrimaryKey(Integer companyListId);
    @DynamicDataSource("ds1")
    CompanyBlacklist selectOneByExample(CompanyBlacklistExample example);
    @DynamicDataSource("ds1")
    CompanyBlacklist selectOneByExampleSelective(@Param("example") CompanyBlacklistExample example, @Param("selective") CompanyBlacklist.Column... selective);
    @DynamicDataSource("ds1")
    CompanyBlacklist selectByPrimaryKeySelective(Integer companyListId, @Param("selective") CompanyBlacklist.Column... selective);
    @DynamicDataSource("ds1")
    List<CompanyBlacklist> selectByExampleSelective(@Param("example") CompanyBlacklistExample example, @Param("selective") CompanyBlacklist.Column... selective);

}
